package com.tedu.announce.mapper;

import com.tedu.announce.pojo.dto.AnnounceQuery;
import com.tedu.announce.pojo.entity.Announce;
import com.tedu.announce.pojo.vo.AnnounceVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AnnounceMapper {
    List<AnnounceVO> select(AnnounceQuery announceQuery);

    void delete(Integer id);

    void insert(Announce announce);

    void update(Announce announce);
}
